#include "MyImg.h"
#include "MyImg_basics.cpp"
#include "MyImg_FFT.cpp"


int MyImg::addTag(string newtag){
	thisTags.push_back(newtag);
	return(0);
}
int MyImg::ShowTags(){
	int i;
	cout << "Tags:  ";
	for(i=0;i<nTags();i++){
		cout << getTag(i) << " ; ";
	}
	cout << endl;
	return(0);
}




void MyImg::Test(){
    int k,j;
    //IplImage* img=NULL;
    unsigned char* ptr=NULL;

    OpenImage(COLOR_MODE_R);
     cvNamedWindow( thisFilename.data(), CV_WINDOW_AUTOSIZE );
    cvShowImage(thisFilename.data(),thisimg);

    cvWaitKey(0);
    cvReleaseImage(&thisimg);
    cvDestroyWindow(thisFilename.data());

}

